﻿@model List<SuperiorModel.Api_CommentModel>
@{
    ViewBag.Title = "全部评价";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div id="commentList" class="weui-tab__bd-item" LoadRequstCount="@Model.Count">
    <!--评价-->
    @foreach (var item in Model)
    {
        <div class="weui-panel__bd">
            <div class="Comment_wy-media-box weui-media-box_text">
                <div class="weui-cell nopd weui-cell_access">
                    <div class="weui-cell__hd"><img src="@item.HeadImgUrl" alt="" style="width:20px;margin-right:5px;display:block"></div>
                    <div class="weui-cell__bd weui-cell_primary"><p>@item.NickName</p></div>
                    <span class="weui-cell__time">@item.CreateTime</span>
                </div>
                <div class="comment-item-star"><span class="real-star comment-stars-width@(item.CommentLevel)"></span></div>
                <p class="Comment_weui-media-box__desc">@item.CommentMsg</p>
               
            </div>
        </div>
    }
    
    <div class="weui-loadmore" style="display:none">
        <i class="weui-loading"></i>
        <span class="weui-loadmore__tips">正在加载</span>
    </div>

</div>
<script src="~/scripts/Comment/CommentList.js"></script>
<script>
    CommentListClass.Instance.Init();
</script>
